import java.util.Scanner;

public class Test4 {
    public static void main(String[] args) {
        Login login = new Login();
        Scanner scanner = new Scanner(System.in);
        String name = scanner.nextLine();
        String password = scanner.nextLine();
        try{
            login.loginSuccess(name,password);
        }catch (UsernameOrPasswordException e){
           e.printStackTrace();
        }
    }
}
